package com.danskin.wechat.service;

import java.util.List;
import java.util.Map;

import com.danskin.wechat.entity.Menu;

public interface MenuService {
	/**
	 * 根据父ID获取子菜单
	 * @param parentId
	 * @return
	 * @throws Exception
	 */
	public List<Menu> listSubMenuByParentId(String parentId)throws Exception;
	/**
	 * 递归获取子菜单
	 * @param MENU_ID
	 * @return
	 * @throws Exception
	 */
	public List<Menu> listAllMenuQx(String MENU_ID) throws Exception;
	/**
	 * 超级管理获取菜单
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public List<Menu> listAllMenuByCondtion(Map<String,Object> map) throws Exception;
	/**
	 * 普通管理员（微信运营者）获取菜单
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public List<Menu> listOperatorMenuByCondtion(Map<String,Object> map) throws Exception;

}
